package edu.designPattern.Adapter;

/**
 * 中国中锋
 *
 * @Author ltb
 * @Date 2021/6/27 2:04 下午
 * @Version 1.0
 */
public class ForeignCenter{

    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void 进攻() {
        System.out.println("外援中锋[" + name + "] 进攻");
    }

    public void 防守() {
        System.out.println("外援中锋[" + name + "] 防守");
    }
}
